package com.solveit.aps.io.db;

import java.io.File;
import java.sql.Connection;

import com.solveit.core.configuration.SystemConfiguration;
import com.solveit.core.db.DbManager;

public class InternalDbManager extends DbManager {
	private static InternalDbManager instance = new InternalDbManager();
	
	public static InternalDbManager getInstance(){
		return instance;
	}
	
	private Connection connection;
	private InternalDbManager() {
		super(new File(SystemConfiguration.getConfigFolder(), "InternalDB").getAbsolutePath());
		instance = this;
	}
	
	protected Connection getConnection() throws Exception{
		return connection;
	}
}
